import React, { Component } from "react";
import { Select } from "antd";
// import "./PuchaseSelect.css"

export default class PurchaseSelect extends Component {
  render() {
    const { onSelects, data, values } = this.props;

    return (
      <>
        <Select
          className='purchase_select'
          style={{
            width: 120,
          }}
          onChange={onSelects}
          options={data}
          value={values}
        >
        </Select>
      </>
    );
  }
}
